

bool rsaEncrypt();
bool rsaDecrypt();
char *eme_pkcs1_v1_5_encode(string msg, int emlen);
uchar *eme_pkcs1_v1_5_decode(uchar * em, uint &count);
bool createDerFile();
bool getPrivateKey(mpz_t modulus, mpz_t d);
bool getPublicKey(mpz_t modulus, mpz_t e);
bool getPubKeyFromCert(mpz_t modulus, mpz_t e);
bool rsaVerify();
uchar *signed_msg_decode(uchar *em, uint &count);
